package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.Peasant;
import com.huazhi.wzsnw.model.Watercheck;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WatercheckMapper {
    int deleteByPrimaryKey(String tid);

    int insert(Watercheck record);

    int insertSelective(Watercheck record);

    Watercheck selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(Watercheck record);

    int updateByPrimaryKey(Watercheck record);

    List<String> selectListTidBySearch(@Param("key") String key);

    List<Watercheck> findPagingByListTid(@Param("listTid") List<String> listTid, @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);


}